<#assign title="FofParamHistoy编辑页面">
<#include "/admin/inc/top.html"/>
<div class="main-content" id="main-content">
    <header class="header navbar bg-white shadow">
        <div class="btn-group tool-button">
            <a class="btn btn-primary navbar-btn" href="${base!}/private/fof/fofParamHistoy" data-pjax><i
                    class="fa fa-reply"></i> 返回</a>
        </div>
    </header>
    <section class="content">
        <div class="form-wrapper" style="min-height:500px;">
            <section class="panel panel-form">
                <form id="unitAddForm" role="form" class="form-horizontal parsley-form" data-parsley-validate
                      action="${base!}/private/fof/fofParamHistoy/editDo" method="post">
                    <input type="hidden" name="id" value="${fofParamHistoy.id}">
                    <div class="row mb10">
                        <div class="col-lg-12">
                            <div class="form-group">
                                <label for="params" class="col-sm-2 control-label">组建一个FOF的所有参数</label>

                                <div class="col-sm-8">
                                    <input type="text" id="params" class="form-control" name="params"
                                     placeholder="组建一个FOF的所有参数" value="${fofParamHistoy.params}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label for="ver" class="col-sm-2 control-label">FOF参数的版本号为当前时间戳</label>

                                <div class="col-sm-8">
                                    <input type="text" id="ver" class="form-control" name="ver"
                                     placeholder="FOF参数的版本号为当前时间戳" value="${fofParamHistoy.ver}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label for="fofId" class="col-sm-2 control-label">对应FOF的ID</label>

                                <div class="col-sm-8">
                                    <input type="text" id="fofId" class="form-control" name="fofId"
                                     placeholder="对应FOF的ID" value="${fofParamHistoy.fofId}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                    </div>
                    <div class="col-lg-3"></div>
                    <div class="col-lg-6">
                        <div class="form-group text-center">
                            <label></label>

                            <div>
                                <button class="btn btn-primary btn-block btn-lg btn-parsley"
                                        data-loading-text="正在提交...">提 交
                                </button>
                            </div>
                        </div>
                    </div>
                </form>
            </section>

        </div>
        <a class="exit-offscreen"></a>
    </section>
</div>
<script language="JavaScript">

    $(document).ready(function () {
        //initTreeView();
        $('#unitAddForm').ajaxForm({
            dataType: 'json',
            beforeSubmit: function (arr, form, options) {
                form.find("button:submit").button("loading");
            },
            success: function (data, statusText, xhr, form) {
                if (data.code == 200) {
                    Toast.success(data.msg);
                } else {
                    Toast.error(data.msg);
                }
                form.find("button:submit").button("reset");
            }
        });
    });
</script>
<#include "/admin/inc/bottom.html"/>